package horncomb.bpm.task.core;

import horncomb.bpm.process.core.Token;

/**
 * @author Daniel
 */
public interface TaskDefinition {

	public TaskInstance newInstance(Token token, Object contextModel);

	/**
	 * @return the taskAssignment
	 */
	public TaskAssignment getTaskAssignment();

	/**
	 * @return the id
	 */
	public String getId();

	/**
	 * @return the name
	 */
	public String getName();

}